package com.yanqu.road.logic.bussiness.cross;


import com.yanqu.road.entity.activity.cookboy.CookBoyMatch;
import com.yanqu.road.entity.activity.cookboy.process2.CookBoy2DishTable;
import com.yanqu.road.entity.activity.cookboy.process2.CookBoyUpUser;
import com.yanqu.road.entity.activity.cookboy.process2.CookBoy2UserJoinData;
import com.yanqu.road.entity.activity.cookboy.process3.CookBoy3Table;
import com.yanqu.road.logic.bussiness.DaoHelper;
import java.util.List;
import java.util.Map;

public class CrossCookBoyBussiness {


    public static Map<Long,Map<Integer, CookBoy3Table>> getCrossCookBoy3TableMap(int activityId) {
        return DaoHelper.getCrossCookBoyDaoImpl().getCrossCookBoy3TableMap(activityId);
    }

    public static boolean updateCrossCookBoy3TableList(List<CookBoy3Table> dataList) {
        return DaoHelper.getCrossCookBoyDaoImpl().updateCrossCookBoy3TableList(dataList);
    }

    public static boolean addCrossCookBoy3TableList(List<CookBoy3Table> dataList) {
        return DaoHelper.getCrossCookBoyDaoImpl().addCrossCookBoy3TableList(dataList);
    }

    /*小當家2*/
    public static boolean updateJoinRelationList(List<CookBoy2UserJoinData> dataList) {
        return DaoHelper.getCrossCookBoyDaoImpl().updateJoinRelationList(dataList);
    }

    public static boolean addJoinRelationList(List<CookBoy2UserJoinData> dataList) {
        return DaoHelper.getCrossCookBoyDaoImpl().addJoinRelationList(dataList);
    }
    public static List<CookBoy2UserJoinData> getCookBoy2UserJoinData(int activityId) {
        return DaoHelper.getCrossCookBoyDaoImpl().getCookBoy2UserJoinData(activityId);
    }

    public static Map<Long, CookBoyUpUser> getCrossCookBoyUserMap(int activityId) {
        return DaoHelper.getCrossCookBoyDaoImpl().getCrossCookBoy2UserMap(activityId);
    }

    public static boolean updateCrossCookBoyUserList(List<CookBoyUpUser> dataList) {
        return DaoHelper.getCrossCookBoyDaoImpl().updateCrossCookBoyUserList(dataList);
    }

    public static boolean addCrossCookBoyUserList(List<CookBoyUpUser> dataList) {
        return DaoHelper.getCrossCookBoyDaoImpl().addCrossCookBoyUserList(dataList);
    }

    public static Map<Long,Map<Integer, CookBoy2DishTable>> getCrossDishTableMap(int activityId) {
        return DaoHelper.getCrossCookBoyDaoImpl().getCrossDishTableMap(activityId);
    }

    public static boolean updateCrossDishTableList(List<CookBoy2DishTable> dataList) {
        return DaoHelper.getCrossCookBoyDaoImpl().updateCrossDishTableList(dataList);
    }

    public static boolean addCrossDishTableList(List<CookBoy2DishTable> dataList) {
        return DaoHelper.getCrossCookBoyDaoImpl().addCrossDishTableList(dataList);
    }

    public static Map<Integer, CookBoyMatch> getCrossMatchTableMap(int activityId) {
        return DaoHelper.getCrossCookBoyDaoImpl().getCrossMatchTableMap(activityId);
    }

    public static boolean updateCrossMatchList(List<CookBoyMatch> dataList) {
        return DaoHelper.getCrossCookBoyDaoImpl().updateCrossMatchList(dataList);
    }

    public static boolean addCrossMatchTableList(List<CookBoyMatch> dataList) {
        return DaoHelper.getCrossCookBoyDaoImpl().addCrossMatchTableList(dataList);
    }
}
